package cn.enilu.flash.bean.entity.blindbox;

import cn.enilu.flash.bean.entity.BaseEntity;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Table(name = "t_user_funds")
@Entity
@Getter
@Setter
@RequiredArgsConstructor
@ToString
public class UserFunds extends BaseEntity {
    @Column(name = "user_id", nullable = false, length = 64)
    private Long userId;

    @Column(name = "integral")
    private Long integral;

    @Column(name = "balance")
    private Long balance;

    @Column(name = "available_flag")
    private Boolean availableFlag;

}